package com.qt.pojo.dto;

import com.qt.pojo.base.BaseDTO;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author pgw
 * @version 1.0
 * @description
 * @date Create by 2023/9/25 11:47
 */
@Data
public class SubmitJudgeDTO extends BaseDTO {

    @NotNull
    private Long problemId;

    @NotBlank(message = "题目的展示id不能为空")
    private  String displayProblemId;

    @NotBlank(message = "代码语言选择不能为空")
    private String language;

    @NotBlank(message = "提交的代码不能为空")
    private String code;

    @NotNull
    private Long contestId;
}
